.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.681);
  z-index: 9999;
  font-family: iranSansX !important;
  max-width: 100vw !important;
  overflow-y: auto;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.my-modal {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  overflow: hidden;
  width: 90%;
  height: 500px;
}

.popup-content {
  position: absolute;
  overflow: hidden;
  overflow-y: scroll;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--bg);
  background-size: cover;
  width: 100%;
  height: 100%;
  animation: popup-fade 0.9s ease-in-out;
}
.popup_header {
  margin: 30px 16px;
}

.popup-images-swiper {
  margin: 16px;
  height: 33vh;
}
.popup-images-swiper img {
  object-fit: contain;
  width: 100%;
  height: 88%;
}

.popup-images-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background-color: #b4b4b4;
  transition: 0.5s;
}

.popup-images-swiper .swiper-pagination-bullet-active {
  background-color: #6079a8;
  width: 26px;
}
.popup-images-swiper
  #sepehr-v5-swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: #a1812c;
}

.popup_sizes {
  display: flex;
  gap: 40px;
  margin: 34px auto;
  width: fit-content;
  color: #727272;
}
.popup_titles {
  margin: 0 16px;
}
.popup_titles h2 {
  font-weight: 500;
  font-size: 1.1rem;
  color: #323232;
}
.popup_titles h3 {
  font-weight: 400;
  font-size: 1rem;
  color: #727272;
  margin-top: 4px;
}
.popup_details h2 {
  font-weight: 500;
  font-size: 1rem;
  color: #323232;
}
.popup_details p {
  font-family: vazir;
  font-weight: 400;
  font-size: 0.925rem;
  color: #727272;
}
.popup_details {
  margin: 0 16px 30px;
}

.modal-swiper {
  width: 100%;
  height: 100%;
  overflow: visible;
  margin-top: 8px;
}
.modal-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background-color: #cecece;
  transition: 0.5s;
}

.modal-swiper .swiper-pagination-bullet-active {
  background-color: #f3b5c5;
  width: 26px;
}

.modal-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.popup-price_video {
  display: flex;
  justify-content: space-between;
  margin: 0 16px;
}
.popup-video_holder {
  color: #323232;
  font-weight: 400;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.popup_price .popup-currency {
  font-family: vazir;
  margin-right: 5px;
  content: "تومان";
  font-weight: 400;
  font-size: 0.925rem;
}
.sepehr-v5-popup-price_video .popup_price .popup-currency {
  content: none !important;
}

.popup_price span {
  font-family: dana;
  position: absolute;
  left: 16px;
  color: #323232;
  font-size: 1.1rem;
  font-weight: 500;
}
.sepehr-v5-popup-price_video .popup_price.en span {
  font-family: initial !important;
  font-size: 20px !important;
  font-weight: 600 !important;
}

.videoHolder {
  position: relative;
  top: 5vh;
}
.videoHolder video {
  width: 100%;
  height: 200px;
  margin-bottom: 10px;
}

.active-size {
  color: #323232 !important;
  font-weight: 700;
}

@keyframes popup-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, 100%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
